package service;

import java.util.List;

import imageUtil.Page;
import model.Department;

public interface DepartmentService {

	public int findByCount() throws Exception;
	
	public List<Department> findByAll(Page page) throws Exception;
	
	public List<Department> findByName() throws Exception;
	
	public boolean saveDepartment(String departmentName,String description) throws Exception;
	
	public boolean updateDepartment(int id,String departmentName,String description)  throws Exception;
	
	public List<Department> findByAll() throws Exception;
}
